package com.ruicar.afs.cloud.channel.common.enums;

import com.ruicar.afs.cloud.common.core.enums.AfsBaseEnum;
import com.ruicar.afs.cloud.common.core.enums.annotations.AfsEnum;

/**
 * @author: mingzhi.li
 * @date: 2020/7/16 19:39
 * @description: 流程参数
 */
public enum ChannelAfsFlowEnum implements AfsBaseEnum {

    /**
     * 新车上线申请(与二手车同用一个流程)
     */
    @AfsEnum(key = "channel-biz-online", desc = "新车渠道上线申请")
    CHANNEL_ONLINE_NEW,

    /**
     * 二手车渠道上线申请(与新车同用一个流程)
     */
    @AfsEnum(key = "channel-biz-online", desc = "二手车渠道上线申请")
    CHANNEL_ONLINE_OLD,

    /**
     * 挂牌车备案
     */
    @AfsEnum(key = "channel-biz-register", desc = "挂牌车备案")
    CHANNEL_REGISTER,

    /**
     * 见证人备案
     */
    @AfsEnum(key = "channel-biz-witness", desc = "见证人备案")
    CHANNEL_WITNESS,

    /**
     * 黑名单申请
     */
    @AfsEnum(key = "channel-biz-black", desc = "黑名单加入")
    CHANNEL_BLACK_JOIN,

    /**
     * 黑名单申请
     */
    @AfsEnum(key = "channel-biz-black-relieve", desc = "黑名单解除")
    CHANNEL_BLACK_RELIEVE,

    /**
     * 业务类型
     */
    @AfsEnum(key = "businessType", desc = "业务类型")
    BUSINESS_TYPE,

    /**
     * 业务类型
     */
    @AfsEnum(key = "channelBelong", desc = "渠道归属")
    CHANNEL_BELONG,

    //审批意见：提交
    @AfsEnum(key = "1", desc = "提交")
    CHANNEL_SUBMIT,

    //审批意见：退回
    @AfsEnum(key = "2", desc = "退回")
    CHANNEL_BACK,

    //审批意见：拒绝
    @AfsEnum(key = "3", desc = "拒绝")
    CHANNEL_REFUSE,

    /**
     * 节点标识
     */
    @AfsEnum(key = "nodeLabel", desc = "节点标识")
    NODE_LABEL,

    /**
     * 普通车商上线申请
     */
    @AfsEnum(key = "common-car-dealer", desc = "普通车商上线申请")
    COMMON_CAR_DEALER,

    /**
     * 直营车商上线申请
     */
    @AfsEnum(key = "direct-car-dealer", desc = "直营车商上线申请")
    DIRECT_CAR_DEALER,
    /**
     * 汇款账户类型
     */
    @AfsEnum(key = "paymentObject", desc = "汇款账户类型")
    PAYMENT_OBJECT,

    /**
     * 收款账户
     */
    @AfsEnum(key = "receivables-account",desc = "收款账户变更申请")
    PAYMENT_ACCOUN,

    /**
     * 新车合作商额度维护
     */
    @AfsEnum(key = "channel-quota",desc = "合作商新车额度维护")
    CHANNEL_QUOTA_NEW,

    /**
     * 新车合作商额度维护
     */
    @AfsEnum(key = "channel-quota",desc = "合作商二手车额度维护")
    CHANNEL_QUOTA_OLD,

    /**
     * 挂靠审批
     */
    @AfsEnum(key = "affiliated-third",desc = "挂靠审批")
    AFFILIATED_THIRD,
    /**
     * 业务类型
     */
    @AfsEnum(key = "busiType", desc = "挂靠类型")
    BUSI_TYPE,

    //审批意见：提交
    @AfsEnum(key = "00", desc = "提交")
    AFFILIATE_SUBMIT,

    //审批意见：退回
    @AfsEnum(key = "03", desc = "退回")
    AFFILIATE_BACK,

    //审批意见：拒绝
    @AfsEnum(key = "04", desc = "拒绝")
    AFFILIATE_REFUSE,

    /**
     *
     */
    @AfsEnum(key = "apply_user", desc = "进件用户审核")
    APPLY_USER,
}
